package com.travel.server.manager.dto.response.project;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author: LiZhenhui
 * @Date: 2018/10/18 15:59
 * @Desc:
 */
@Data
public class QueryProjectListResponse {

    @JSONField(name = "total_num")
    private Integer totalNum = 0;

    @JSONField(name = "project_list")
    private List<ProjectItem> projectList;

    @Data
    public static class ProjectItem{

        private Integer id;

        @JSONField(name = "pic_url")
        private String picUrl;

        private String name;

        private String type;

        private String project;

        private String country;

        private List<String> days;

        private String price;

        private String stock;

        @JSONField(name = "create_time", format = "yyyy-MM-dd HH:mm:ss")
        private Date createTime;
    }
}
